class Solution 
{
public:
    int singleNumber(vector<int>& nums) 
    {
        int eor = 0;
        for (auto x : nums)
        {
            eor ^= x;
        }

        return eor;
    }
};
